/*
*  Copyright 2019-2020 Zheng Jie
*
*  Licensed under the Apache License, Version 2.0 (the "License");
*  you may not use this file except in compliance with the License.
*  You may obtain a copy of the License at
*
*  http://www.apache.org/licenses/LICENSE-2.0
*
*  Unless required by applicable law or agreed to in writing, software
*  distributed under the License is distributed on an "AS IS" BASIS,
*  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*  See the License for the specific language governing permissions and
*  limitations under the License.
*/
package me.zhengjie.modules.system.service.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import java.sql.Timestamp;
import java.io.Serializable;
import java.util.List;
import java.util.Set;

import com.alibaba.fastjson.annotation.JSONField;
import com.alibaba.fastjson.serializer.ToStringSerializer;
import lombok.Getter;
import lombok.Setter;
import me.zhengjie.modules.system.domain.TaskMark;

import javax.mail.search.SearchTerm;
import javax.persistence.Entity;

/**
* @website https://el-admin.vip
* @description /
* @author whj
* @date 2021-01-16
**/
//@Data
@Getter
@Setter
public class ImageDto implements Serializable {

    /** 防止精度丢失 */
    @JSONField(serializeUsing = ToStringSerializer.class)
    private Long imageId;

    /** 图片名(带后缀名) */
    private String imageName;

    /** 图片绝对路径 */
    private String iamgePath;

    /** 标注json的框数量(初始为0) */
    private Long numBox;

    /** 标注结果json路径 */
    @JsonInclude(JsonInclude.Include.NON_NULL)
    private String resultPath;

    /** 0未标注/1标注部分/2等待审核/3审核通过/4审核不通过 */
    private Long status;

    /** 上传标注的时间 */
    private Timestamp uploadJsonTime;

    /** 图片高度 */
    private Long height;

    /** 图片大小 */
    private Long size;

    /** 图片宽度 */
    private Long width;
}